<?
/*************************************************
Project Name	:	Session Library for JONESKY
Author			:	WellsWang
Date			:	2004-10-23
Email			:	wellswang@msn.com
Hompage			:	www.osall.com
Version			:	0.1
**************************************************/
//$lifeTime = 12 * 3600; 
//session_set_cookie_params($lifeTime); 
session_start();
header("Location: t.html");


if (isset($_GET['cat'])) {
	$_SESSION['cat']=$_GET['cat'];
	$cat=$_GET['cat'];
}

if (isset($_GET['category'])) {
	$_SESSION['category']=$_GET['category'];
	$category=$_GET['category'];
}

if (isset($_GET['cat_lev'])) {
	$_SESSION['cat_lev']=$_GET['cat_lev'];
	$cat_lev=$_GET['cat_lev'];
}

if (isset($_GET['cat_par'])) {
	$_SESSION['cat_par']=$_GET['cat_par'];
	$cat_par=$_GET['cat_par'];
}

if (isset($_SESSION['cat']))
	$cat=$_SESSION['cat'];
else $cat=0;

if (isset($_SESSION['category']))
	$category=$_SESSION['category'];
else $category=0;

if (isset($_SESSION['cat_lev']))
	$cat_lev=$_SESSION['cat_lev'];
else $cat_lev=0;

if (isset($_SESSION['cat_par']))
	$cat_par=$_SESSION['cat_par'];
else $cat_par=0;
?>
